{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport const traverseBreakpoints = (breakpoints, responsize, iterator) => {\n  const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.\n\n  if (Array.isArray(responsize)) {\n    responsize.forEach((breakpointValue, index) => {\n      iterator((responsizeStyles, style) => {\n        if (index <= breakpoints.keys.length - 1) {\n          if (index === 0) {\n            Object.assign(responsizeStyles, style);\n          } else {\n            responsizeStyles[breakpoints.up(breakpoints.keys[index])] = style;\n          }\n        }\n      }, breakpointValue);\n    });\n  } else if (responsize && typeof responsize === 'object') {\n    // prevent null\n    // responsize could be a very big object, pick the smallest responsive values\n    const keys = Object.keys(responsize).length > breakpoints.keys.length ? breakpoints.keys : Object.keys(responsize);\n    keys.forEach(key => {\n      if (breakpoints.keys.indexOf(key) !== -1) {\n        // @ts-ignore already checked that responsize is an object\n        const breakpointValue = responsize[key];\n        if (breakpointValue !== undefined) {\n          iterator((responsizeStyles, style) => {\n            if (smallestBreakpoint === key) {\n              Object.assign(responsizeStyles, style);\n            } else {\n              responsizeStyles[breakpoints.up(key)] = style;\n            }\n          }, breakpointValue);\n        }\n      }\n    });\n  } else if (typeof responsize === 'number' || typeof responsize === 'string') {\n    iterator((responsizeStyles, style) => {\n      Object.assign(responsizeStyles, style);\n    }, responsize);\n  }\n};\nexport const generateGridSizeStyles = _ref => {\n  let {\n    theme,\n    ownerState\n  } = _ref;\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.gridSize, (appendStyle, value) => {\n    let style = {};\n    if (value === true) {\n      style = {\n        flexBasis: 0,\n        flexGrow: 1,\n        maxWidth: '100%'\n      };\n    }\n    if (value === 'auto') {\n      style = {\n        flexBasis: 'auto',\n        flexGrow: 0,\n        flexShrink: 0,\n        maxWidth: 'none',\n        width: 'auto'\n      };\n    }\n    if (typeof value === 'number') {\n      style = {\n        flexGrow: 0,\n        flexBasis: 'auto',\n        width: `calc(100% * ${value} / var(--Grid-columns)${ownerState.nested && ownerState.container ? ` + var(--Grid-columnSpacing)` : ''})`\n      };\n    }\n    appendStyle(styles, style);\n  });\n  return styles;\n};\nexport const generateGridOffsetStyles = _ref2 => {\n  let {\n    theme,\n    ownerState\n  } = _ref2;\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.gridOffset, (appendStyle, value) => {\n    let style = {};\n    if (value === 'auto') {\n      style = {\n        marginLeft: 'auto'\n      };\n    }\n    if (typeof value === 'number') {\n      style = {\n        marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / var(--Grid-columns))`\n      };\n    }\n    appendStyle(styles, style);\n  });\n  return styles;\n};\nexport const generateGridColumnsStyles = _ref3 => {\n  let {\n    theme,\n    ownerState\n  } = _ref3;\n  if (!ownerState.container) {\n    return {};\n  }\n  const styles = {\n    '--Grid-columns': 12\n  };\n  traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {\n    appendStyle(styles, {\n      '--Grid-columns': value\n    });\n  });\n  return styles;\n};\nexport const generateGridRowSpacingStyles = _ref4 => {\n  let {\n    theme,\n    ownerState\n  } = _ref4;\n  if (!ownerState.container) {\n    return {};\n  }\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {\n    var _theme$spacing;\n    appendStyle(styles, {\n      '--Grid-rowSpacing': typeof value === 'string' ? value : (_theme$spacing = theme.spacing) == null ? void 0 : _theme$spacing.call(theme, value)\n    });\n  });\n  return styles;\n};\nexport const generateGridColumnSpacingStyles = _ref5 => {\n  let {\n    theme,\n    ownerState\n  } = _ref5;\n  if (!ownerState.container) {\n    return {};\n  }\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {\n    var _theme$spacing2;\n    appendStyle(styles, {\n      '--Grid-columnSpacing': typeof value === 'string' ? value : (_theme$spacing2 = theme.spacing) == null ? void 0 : _theme$spacing2.call(theme, value)\n    });\n  });\n  return styles;\n};\nexport const generateGridDirectionStyles = _ref6 => {\n  let {\n    theme,\n    ownerState\n  } = _ref6;\n  if (!ownerState.container) {\n    return {};\n  }\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.direction, (appendStyle, value) => {\n    appendStyle(styles, {\n      flexDirection: value\n    });\n  });\n  return styles;\n};\nexport const generateGridStyles = _ref7 => {\n  let {\n    ownerState\n  } = _ref7;\n  return _extends({\n    minWidth: 0,\n    boxSizing: 'border-box'\n  }, ownerState.container ? _extends({\n    display: 'flex',\n    flexWrap: 'wrap'\n  }, ownerState.wrap && ownerState.wrap !== 'wrap' && {\n    flexWrap: ownerState.wrap\n  }, {\n    margin: `calc(var(--Grid-rowSpacing) / -2) calc(var(--Grid-columnSpacing) / -2)`\n  }, ownerState.disableEqualOverflow && {\n    margin: `calc(var(--Grid-rowSpacing) * -1) 0px 0px calc(var(--Grid-columnSpacing) * -1)`\n  }, ownerState.nested ? _extends({\n    padding: `calc(var(--Grid-nested-rowSpacing) / 2) calc(var(--Grid-nested-columnSpacing) / 2)`\n  }, (ownerState.disableEqualOverflow || ownerState.parentDisableEqualOverflow) && {\n    padding: `calc(var(--Grid-nested-rowSpacing)) 0px 0px calc(var(--Grid-nested-columnSpacing))`\n  }) : {\n    '--Grid-nested-rowSpacing': 'var(--Grid-rowSpacing)',\n    '--Grid-nested-columnSpacing': 'var(--Grid-columnSpacing)'\n  }) : _extends({\n    padding: `calc(var(--Grid-rowSpacing) / 2) calc(var(--Grid-columnSpacing) / 2)`\n  }, ownerState.disableEqualOverflow && {\n    padding: `calc(var(--Grid-rowSpacing)) 0px 0px calc(var(--Grid-columnSpacing))`\n  }));\n};\nexport const generateSizeClassNames = gridSize => {\n  const classNames = [];\n  Object.entries(gridSize).forEach(_ref8 => {\n    let [key, value] = _ref8;\n    if (value !== false && value !== undefined) {\n      classNames.push(`grid-${key}-${String(value)}`);\n    }\n  });\n  return classNames;\n};\nexport const generateSpacingClassNames = function (spacing) {\n  let smallestBreakpoint = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'xs';\n  function isValidSpacing(val) {\n    if (val === undefined) {\n      return false;\n    }\n    return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;\n  }\n  if (isValidSpacing(spacing)) {\n    return [`spacing-${smallestBreakpoint}-${String(spacing)}`];\n  }\n  if (typeof spacing === 'object' && !Array.isArray(spacing)) {\n    const classNames = [];\n    Object.entries(spacing).forEach(_ref9 => {\n      let [key, value] = _ref9;\n      if (isValidSpacing(value)) {\n        classNames.push(`spacing-${key}-${String(value)}`);\n      }\n    });\n    return classNames;\n  }\n  return [];\n};\nexport const generateDirectionClasses = direction => {\n  if (direction === undefined) {\n    return [];\n  }\n  if (typeof direction === 'object') {\n    return Object.entries(direction).map(_ref10 => {\n      let [key, value] = _ref10;\n      return `direction-${key}-${value}`;\n    });\n  }\n  return [`direction-xs-${String(direction)}`];\n};","map":{"version":3,"names":["_extends","traverseBreakpoints","breakpoints","responsize","iterator","smallestBreakpoint","keys","Array","isArray","forEach","breakpointValue","index","responsizeStyles","style","length","Object","assign","up","key","indexOf","undefined","generateGridSizeStyles","theme","ownerState","styles","gridSize","appendStyle","value","flexBasis","flexGrow","maxWidth","flexShrink","width","nested","container","generateGridOffsetStyles","gridOffset","marginLeft","generateGridColumnsStyles","columns","generateGridRowSpacingStyles","rowSpacing","_theme$spacing","spacing","call","generateGridColumnSpacingStyles","columnSpacing","_theme$spacing2","generateGridDirectionStyles","direction","flexDirection","generateGridStyles","minWidth","boxSizing","display","flexWrap","wrap","margin","disableEqualOverflow","padding","parentDisableEqualOverflow","generateSizeClassNames","classNames","entries","push","String","generateSpacingClassNames","isValidSpacing","val","Number","isNaN","generateDirectionClasses","map"],"sources":["/data/messenger.client/node_modules/@mui/system/esm/Unstable_Grid/gridGenerator.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport const traverseBreakpoints = (breakpoints, responsize, iterator) => {\n  const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.\n\n  if (Array.isArray(responsize)) {\n    responsize.forEach((breakpointValue, index) => {\n      iterator((responsizeStyles, style) => {\n        if (index <= breakpoints.keys.length - 1) {\n          if (index === 0) {\n            Object.assign(responsizeStyles, style);\n          } else {\n            responsizeStyles[breakpoints.up(breakpoints.keys[index])] = style;\n          }\n        }\n      }, breakpointValue);\n    });\n  } else if (responsize && typeof responsize === 'object') {\n    // prevent null\n    // responsize could be a very big object, pick the smallest responsive values\n    const keys = Object.keys(responsize).length > breakpoints.keys.length ? breakpoints.keys : Object.keys(responsize);\n    keys.forEach(key => {\n      if (breakpoints.keys.indexOf(key) !== -1) {\n        // @ts-ignore already checked that responsize is an object\n        const breakpointValue = responsize[key];\n\n        if (breakpointValue !== undefined) {\n          iterator((responsizeStyles, style) => {\n            if (smallestBreakpoint === key) {\n              Object.assign(responsizeStyles, style);\n            } else {\n              responsizeStyles[breakpoints.up(key)] = style;\n            }\n          }, breakpointValue);\n        }\n      }\n    });\n  } else if (typeof responsize === 'number' || typeof responsize === 'string') {\n    iterator((responsizeStyles, style) => {\n      Object.assign(responsizeStyles, style);\n    }, responsize);\n  }\n};\nexport const generateGridSizeStyles = ({\n  theme,\n  ownerState\n}) => {\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.gridSize, (appendStyle, value) => {\n    let style = {};\n\n    if (value === true) {\n      style = {\n        flexBasis: 0,\n        flexGrow: 1,\n        maxWidth: '100%'\n      };\n    }\n\n    if (value === 'auto') {\n      style = {\n        flexBasis: 'auto',\n        flexGrow: 0,\n        flexShrink: 0,\n        maxWidth: 'none',\n        width: 'auto'\n      };\n    }\n\n    if (typeof value === 'number') {\n      style = {\n        flexGrow: 0,\n        flexBasis: 'auto',\n        width: `calc(100% * ${value} / var(--Grid-columns)${ownerState.nested && ownerState.container ? ` + var(--Grid-columnSpacing)` : ''})`\n      };\n    }\n\n    appendStyle(styles, style);\n  });\n  return styles;\n};\nexport const generateGridOffsetStyles = ({\n  theme,\n  ownerState\n}) => {\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.gridOffset, (appendStyle, value) => {\n    let style = {};\n\n    if (value === 'auto') {\n      style = {\n        marginLeft: 'auto'\n      };\n    }\n\n    if (typeof value === 'number') {\n      style = {\n        marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / var(--Grid-columns))`\n      };\n    }\n\n    appendStyle(styles, style);\n  });\n  return styles;\n};\nexport const generateGridColumnsStyles = ({\n  theme,\n  ownerState\n}) => {\n  if (!ownerState.container) {\n    return {};\n  }\n\n  const styles = {\n    '--Grid-columns': 12\n  };\n  traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {\n    appendStyle(styles, {\n      '--Grid-columns': value\n    });\n  });\n  return styles;\n};\nexport const generateGridRowSpacingStyles = ({\n  theme,\n  ownerState\n}) => {\n  if (!ownerState.container) {\n    return {};\n  }\n\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {\n    var _theme$spacing;\n\n    appendStyle(styles, {\n      '--Grid-rowSpacing': typeof value === 'string' ? value : (_theme$spacing = theme.spacing) == null ? void 0 : _theme$spacing.call(theme, value)\n    });\n  });\n  return styles;\n};\nexport const generateGridColumnSpacingStyles = ({\n  theme,\n  ownerState\n}) => {\n  if (!ownerState.container) {\n    return {};\n  }\n\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {\n    var _theme$spacing2;\n\n    appendStyle(styles, {\n      '--Grid-columnSpacing': typeof value === 'string' ? value : (_theme$spacing2 = theme.spacing) == null ? void 0 : _theme$spacing2.call(theme, value)\n    });\n  });\n  return styles;\n};\nexport const generateGridDirectionStyles = ({\n  theme,\n  ownerState\n}) => {\n  if (!ownerState.container) {\n    return {};\n  }\n\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.direction, (appendStyle, value) => {\n    appendStyle(styles, {\n      flexDirection: value\n    });\n  });\n  return styles;\n};\nexport const generateGridStyles = ({\n  ownerState\n}) => {\n  return _extends({\n    minWidth: 0,\n    boxSizing: 'border-box'\n  }, ownerState.container ? _extends({\n    display: 'flex',\n    flexWrap: 'wrap'\n  }, ownerState.wrap && ownerState.wrap !== 'wrap' && {\n    flexWrap: ownerState.wrap\n  }, {\n    margin: `calc(var(--Grid-rowSpacing) / -2) calc(var(--Grid-columnSpacing) / -2)`\n  }, ownerState.disableEqualOverflow && {\n    margin: `calc(var(--Grid-rowSpacing) * -1) 0px 0px calc(var(--Grid-columnSpacing) * -1)`\n  }, ownerState.nested ? _extends({\n    padding: `calc(var(--Grid-nested-rowSpacing) / 2) calc(var(--Grid-nested-columnSpacing) / 2)`\n  }, (ownerState.disableEqualOverflow || ownerState.parentDisableEqualOverflow) && {\n    padding: `calc(var(--Grid-nested-rowSpacing)) 0px 0px calc(var(--Grid-nested-columnSpacing))`\n  }) : {\n    '--Grid-nested-rowSpacing': 'var(--Grid-rowSpacing)',\n    '--Grid-nested-columnSpacing': 'var(--Grid-columnSpacing)'\n  }) : _extends({\n    padding: `calc(var(--Grid-rowSpacing) / 2) calc(var(--Grid-columnSpacing) / 2)`\n  }, ownerState.disableEqualOverflow && {\n    padding: `calc(var(--Grid-rowSpacing)) 0px 0px calc(var(--Grid-columnSpacing))`\n  }));\n};\nexport const generateSizeClassNames = gridSize => {\n  const classNames = [];\n  Object.entries(gridSize).forEach(([key, value]) => {\n    if (value !== false && value !== undefined) {\n      classNames.push(`grid-${key}-${String(value)}`);\n    }\n  });\n  return classNames;\n};\nexport const generateSpacingClassNames = (spacing, smallestBreakpoint = 'xs') => {\n  function isValidSpacing(val) {\n    if (val === undefined) {\n      return false;\n    }\n\n    return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;\n  }\n\n  if (isValidSpacing(spacing)) {\n    return [`spacing-${smallestBreakpoint}-${String(spacing)}`];\n  }\n\n  if (typeof spacing === 'object' && !Array.isArray(spacing)) {\n    const classNames = [];\n    Object.entries(spacing).forEach(([key, value]) => {\n      if (isValidSpacing(value)) {\n        classNames.push(`spacing-${key}-${String(value)}`);\n      }\n    });\n    return classNames;\n  }\n\n  return [];\n};\nexport const generateDirectionClasses = direction => {\n  if (direction === undefined) {\n    return [];\n  }\n\n  if (typeof direction === 'object') {\n    return Object.entries(direction).map(([key, value]) => `direction-${key}-${value}`);\n  }\n\n  return [`direction-xs-${String(direction)}`];\n};"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAO,MAAMC,mBAAmB,GAAG,CAACC,WAAW,EAAEC,UAAU,EAAEC,QAAQ,KAAK;EACxE,MAAMC,kBAAkB,GAAGH,WAAW,CAACI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;;EAEhD,IAAIC,KAAK,CAACC,OAAO,CAACL,UAAU,CAAC,EAAE;IAC7BA,UAAU,CAACM,OAAO,CAAC,CAACC,eAAe,EAAEC,KAAK,KAAK;MAC7CP,QAAQ,CAAC,CAACQ,gBAAgB,EAAEC,KAAK,KAAK;QACpC,IAAIF,KAAK,IAAIT,WAAW,CAACI,IAAI,CAACQ,MAAM,GAAG,CAAC,EAAE;UACxC,IAAIH,KAAK,KAAK,CAAC,EAAE;YACfI,MAAM,CAACC,MAAM,CAACJ,gBAAgB,EAAEC,KAAK,CAAC;UACxC,CAAC,MAAM;YACLD,gBAAgB,CAACV,WAAW,CAACe,EAAE,CAACf,WAAW,CAACI,IAAI,CAACK,KAAK,CAAC,CAAC,CAAC,GAAGE,KAAK;UACnE;QACF;MACF,CAAC,EAAEH,eAAe,CAAC;IACrB,CAAC,CAAC;EACJ,CAAC,MAAM,IAAIP,UAAU,IAAI,OAAOA,UAAU,KAAK,QAAQ,EAAE;IACvD;IACA;IACA,MAAMG,IAAI,GAAGS,MAAM,CAACT,IAAI,CAACH,UAAU,CAAC,CAACW,MAAM,GAAGZ,WAAW,CAACI,IAAI,CAACQ,MAAM,GAAGZ,WAAW,CAACI,IAA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